﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace WebApp.Navigations
{
 
    public class MenuElement : FullAuditedEntity<Guid>
    {

        /// <summary>
        ///  
        /// </summary>
        [Required]
        [StringLength(100)]
        public string Name { get; set; }
        /// <summary>
        /// 翻译Key
        /// </summary>
        [Required]
        [StringLength(100)]
        public string DisplayName { get; set; }

        /// <summary>
        /// css 样式
        /// </summary>
        [Required]
        [StringLength(100)]
        public string CssStyle { get; set; }

        /// <summary>
        /// 权限key'
        /// </summary>
        [Required]
        [StringLength(100)]
        public string PermissionKey { get; set; }

        /// <summary>
        /// 模块Id
        /// </summary>
        public Guid UiMenuId { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(200)]
        public string Remark { get; set; }
        /// <summary>
        /// 图标
        /// </summary>
        public string Icon { get; set; }

        /// <summary>
        /// 启用-禁用
        /// </summary>
        public bool IsEnable { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Order { get; set; }

    }
}
